package com.wyh.product.mapper;

import com.wyh.product.model.ProductInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface ProductInfoMapper {
    @Select("select * from product_detail where id = #{productId}")
    ProductInfo selectProductById(@Param("productId") Integer productId);
}
